package data.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import data.dao.daoImplementation.NotFoundException;
import data.dto.*;
import data.searchdto.*;

public interface HolidaysDAO {
	public ArrayList<HolidaysDTO> findHoiliday(HolidaySearchDTO leaveSearchdto)
			throws LeaveDAOException, SQLException;

	public ArrayList<HolidaysDTO> findAllHoliday() throws LeaveDAOException, SQLException;

	public void insertHoliday(HolidaysDTO LeaveDetail)
			throws LeaveDAOException, SQLException;

	public void updateHoliday(HolidaysDTO LeaveDetail)
			throws LeaveDAOException, SQLException, NotFoundException;

	void deleteHoliday(int LeaveDetail) throws LeaveDAOException, SQLException,
			NotFoundException;
}
